summaryrefslogtreecommitdiffstats
path: root/skripti/download-changes-to-website.sh
diff options
context:
space:
mode:
Diffstat (limited to 'skripti/download-changes-to-website.sh')
-rwxr-xr-xskripti/download-changes-to-website.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/skripti/download-changes-to-website.sh b/skripti/download-changes-to-website.sh
index 2d5dce4..6059267 100755
--- a/skripti/download-changes-to-website.sh
+++ b/skripti/download-changes-to-website.sh
@@ -8,6 +8,6 @@ do
t=`mktemp -p "" $n.XXX`
wget -O$t $1
f=`sha256sum $t | cut -d\ -f1`
- mv $t $f
+ [ -f $f ] && rm $t || mv $t $f
sleep $s
done